<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<h1>基本数据类型</h1>

<script>
    let num = 100;
    let flag = true;
    let name = '张三'; //或者let name = "张三"
    let obj = null;
    const s1 = Symbol();
    const s2 = Symbol();

    console.info(typeof(num));
    console.info(typeof(flag));
    console.info(typeof(name));
    console.info(typeof(haha));
    console.info(typeof(obj));
    console.info(typeof(s1));

    console.log(s1 === s2); // false
</script>
</body>
</html>